﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace CyclopsDataObjects
{
    [Serializable]
    [XmlRoot("PlateNum")]
    class PlateNum
    {
        [XmlAttribute]
        public string Plate
        {
            set;
            get;
        }

        [XmlAttribute]
        public int Confidence
        {
            set;
            get;
        }

        [XmlArray]
        [XmlArrayItem("Alternate", typeof(string))]
        public IEnumerable<string> Alternates
        {
            set;
            get;
        }
    }
}
